home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / rs232of2.zip / RS232OFF.DOC < prev   
Text File  |  1989-02-11  |  2KB  |  35 lines

  1.  
  2. From: Dave Hershberger.
  3.  
  4. I have noticed and found a fix for a problem which occurs when
  5. you use PROCOMM on COM3 and/or COM4. COM3 and COM4, when used
  6. with PROCOMM 2.4.2, share the same interrups as COM1 and COM2.
  7. That is, COM1 and COM3 share interrupt IRQ4 while COM2 and COM4
  8. share IRQ3. This is fine as long as all programs which use the
  9. COM ports tell the UART to "shut up" and get off the interrupt
  10. bus before the programs terminate. Otherwise, bus contention may
  11. occur. Two UARTs can both be tri-stated "on" trying to drive the
  12. same interrupt. I have had the problem using PROCOMM on COM3 and
  13. a Logitech mouse on COM1 with Generic Cadd. After using COM3 with
  14. PROCOMM, for instance, then sometimes I could not run Generic
  15. Cadd using the mouse on COM1. It was as though COM1 was not there
  16. anymore. Similarly, sometimes after using Generic Cadd using the
  17. mouse on COM1, COM3 did not seem to be there using PROCOMM.
  18. CNTRL-ALT-DEL is not sufficient to clear the problem. The only
  19. way to clear the bus contention was to turn the power off! After
  20. conferring with a friend (Jim Michener, who gets credit for
  21. writing the "RS232OFF" program), a solution was found. The
  22. RS232OFF program simply sends a "shut up" command to all four
  23. UARTs. The simple ten-line "c" source code as well as the
  24. compiled .EXE files are included. If you have programs which
  25. alternately use COM1/COM3 or COM2/COM3, just run RS232OFF between
  26. them.
  27.  
  28.  
  29. Date: February 11, 1989
  30. From: Keith Petersen, W8SDZ
  31.  
  32. I rewrote the program in assembler to reduce its size.
  33. Use shareware A86 assembler or debug to reproduce the
  34. COM file.
  35.